Creates an extension bundle that is suitable for publishing.
+
The bundle will always include the required files extension.js
-and metadata.json, as well as the optional stylesheet.css and
-prefs.js if found. Each additional source that should be included
-must be specified with *--extra-source*.
+and metadata.json, as well as any of the optional stylesheet.css,
+stylesheet-dark.css, stylesheet-light.css or prefs.js if found.
+Each additional source that should be included must be specified
+with *--extra-source*.
+
If the extension includes one or more GSettings schemas, they can
either be placed in a schemas/ folder to be picked up automatically,
pack = extension_pack_new (srcdir);
extension_pack_add_source (pack, "extension.js");
extension_pack_add_source (pack, "metadata.json");
+ extension_pack_add_source (pack, "stylesheet-dark.css");
+ extension_pack_add_source (pack, "stylesheet-light.css");
extension_pack_add_source (pack, "stylesheet.css");
extension_pack_add_source (pack, "prefs.js");